package com.lyb.spzx.manager.mapper;

import com.lyb.spzx.model.dto.system.system.SysMenu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysMenuMapper {
    List<SysMenu> findAllMenu();

    void save(SysMenu sysMenu);

    void update(SysMenu sysMenu);

    void delete(Long id);

    int countByParentId(Long id);

    List<SysMenu> findMenuById(Long userId);
}
